package com.winit.schedule.job.tracker.repository.mysql.dao;

import java.util.List;

import com.winit.schedule.core.repository.entity.QuartzLogEntity;
import com.winit.schedule.core.repository.query.QuartzLogQuery;
import com.winit.schedule.job.tracker.repository.mysql.plugin.SearchRequest;

public interface MysqlQuartzLogDao {

    void saveLog(QuartzLogEntity entity);

    QuartzLogEntity getLogById(String logId);

    List<QuartzLogEntity> queryLogPage(SearchRequest<QuartzLogQuery> search);

    long queryLogPageCount(QuartzLogQuery query);
}
